package com.bootdo.system.service;

import com.bootdo.system.domain.QuestionDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2021-02-04 11:46:52
 */
public interface QuestionService {
	
	QuestionDO get(Long id);
	
	List<QuestionDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(QuestionDO question);
	
	int update(QuestionDO question);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

    List<QuestionDO> getUserQuestionList(Long userId);

	List<QuestionDO> getHuifuQuestionList(Long userId);
}
